package com.zwl.chengguangservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
// <editor-fold defaultstate="collapsed" desc="delombok">
// 用户实体类
// </editor-fold>
/** @TableName("cmfz_admin") 将当前的实体类和数据库的表建立联系 注解参数：表名 */
@TableName("sp_user")
public class User implements Serializable {
    /**
     * 主键属性 @TableId
     *
     * <p>value 该属性对应的数据库表中的字段名 type 主键自增的类型 AUTO 代表自动递增
     */
    @TableId(type = IdType.AUTO)
    private Integer userId;
    /** 非主键属性 @TableField @TableField("username") 参数为该属性对应的数据库表中的字段名 */
    @TableField("user_name")
    private String username;

    @TableField("password")
    private String password;

    @TableField("gender")
    private Integer gender;

    @TableField("wealthValue")
    private Integer wealthValue;

    @TableField("creditLine")
    private Integer creditLine;

    @TableField("token")
    private String token;

    @TableField("city")
    private String city;

    @TableField("head_url")
    private String headUrl;

    @TableField("signature_text")
    private String signatureText;

    @TableField("remaining_sum")
    private String remainingSum;

    @TableField("longitude")
    private String longitude;

    @TableField("latitude")
    private String latitude;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getWealthValue() {
        return wealthValue;
    }

    public void setWealthValue(Integer wealthValue) {
        this.wealthValue = wealthValue;
    }

    public Integer getCreditLine() {
        return creditLine;
    }

    public void setCreditLine(Integer creditLine) {
        this.creditLine = creditLine;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getHeadUrl() {
        return headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public String getSignatureText() {
        return signatureText;
    }

    public void setSignatureText(String signatureText) {
        this.signatureText = signatureText;
    }

    public String getRemainingSum() {
        return remainingSum;
    }

    public void setRemainingSum(String remainingSum) {
        this.remainingSum = remainingSum;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public User() {
    }
}
